package com.ruoyi.xh.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.xh.domain.XhCity;

/**
 * 城市Service接口
 * 
 * @author songjw
 * @date 2024-12-13
 */
public interface IXhCityService extends IService<XhCity> {
    /**
     * 查询城市
     * 
     * @param id 城市主键
     * @return 城市
     */
     XhCity selectXhCityById(Long id);

    /**
     * 查询城市列表
     * 
     * @param xhCity 城市
     * @return 城市集合
     */
    Page<XhCity> selectXhCityList(XhCity xhCity);

    /**
     * 新增城市
     * 
     * @param xhCity 城市
     */
     void insertXhCity(XhCity xhCity);

    /**
     * 修改城市
     * 
     * @param xhCity 城市
     */
    void updateXhCity(XhCity xhCity);

    /**
     * 批量删除城市
     * 
     * @param ids 需要删除的城市主键集合
     */
    void deleteXhCityByIds(Long[] ids);
}
